﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_ymgl_yywz.aspx.cs" Inherits="admin_ymgl_yywz" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>引用文章</title>
    <link href="admin/css/docincommon.css" rel="stylesheet" type="text/css" />
<link href="admin/css/docinregist.css" rel="stylesheet" type="text/css" /> 
    <link href="admin/css/style_update.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="admin/js/jquery-1.3.2.min.js"></script>

<script>
       //警告消息
     function warning(msg)
     {
        //alert(msg);
        $("#txt_warning").html(msg);
        $("#div_warning").show();	 
     } 
</script>
</head>
<body>
<form id="Form1" runat="server">

<div class="right_main">
    
        
        <div class="location">
            <div class="kou"></div>
           
             <div class="koufont">系统管理</div>
            <a href="#" class="one ">页面管理 ></a>
            <a href="#" class="two">页面插图</a>
        </div>
        <br />
        <%--class="info clear" --%>
        <div >

        	<div class="info_border clear">
        	     <div class="title" onclick="mb_show_hide();">
        	         <div class="right_tl1"></div> 
           	         <div class="right_tl2">页面选择</div>	
                 </div>
                 <div class="text_table">
                     页面选择：
                    <asp:DropDownList ID="ddlSelectPage" 
                     Width="40%"  Height="22px" CssClass="input_text"　
                     runat="server" OnSelectedIndexChanged="ddlSelectPage_SelectedIndexChanged" AutoPostBack="True">
                    </asp:DropDownList>
                 </div>
        	
                 <div class="title">
        	         <div class="right_tl1"></div> 
           	         <div class="right_tl2">
                            pdf上传</div>	
                 </div>
                 <div class="text_table">
                    
                    <img src="admin/css/image/gantan.gif" />
                     上传一张该页面引用的pdf
                    <br />
                    pdf上传：
                    <asp:FileUpload ID="FindPdf" CssClass="input_text" runat="server" Height="23px" Width="40%" />
				    <asp:Button ID="UploadPicture" CssClass="button_U" runat="server"  Text="上传pdf" Width="69px" 
				    OnClick="UploadPicture_Click" />
                 </div>
                 
                 <div class="title">
        	         <div class="right_tl1"></div> 
           	         <div class="right_tl2">
                            pdf管理</div>	
                 </div>
                 <div class="text_table">
                    <asp:GridView CssClass="grid_s" ID="GridView1" runat="server" AutoGenerateColumns="False" Width="484px">
                        <Columns>
                            <asp:BoundField DataField="id" HeaderText="id">
                                <HeaderStyle Width="10px" />
                            </asp:BoundField>
                            <asp:BoundField DataField="name" HeaderText="名称">
                                <HeaderStyle Width="300px" />
                            </asp:BoundField>
                            <asp:TemplateField ShowHeader="False">
                                <ControlStyle CssClass="button_U" Height="23px" Width="50px" />
                                <HeaderStyle Width="50px" />
                                <ItemTemplate>
                                    <asp:Button ID="Button1" runat="server" CausesValidation="False" 
                                        CommandName="deleteitem"
                                        CommandArgument='<%# Eval("id") %>'
                                        OnClientClick="javascript:return confirm('真的要删除吗？'); "
                                        Text="删除" OnClick="Button1_Click" />
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                 </div>
                 
                 
                 <div id="div_warning" class="warning margin_div" style="display:none;">
                     <img src="admin/css/image/warning.jpg" width="21" height="23" /><span id="txt_warning"></span>
                 </div>
                
	  		</div>
	  		
	  		
	    </div>
	 
    </div>

</form>
</body>
</html>
